package com.ctshk.rpc.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Lenovo
 */
@Data
@ApiModel(value="MainDataRowDTO对象", description="主数据")
public class MainDataRowDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行id")
    private Long id;

    @ApiModelProperty(value = "行数据")
    private List<FieldData> list;

    @Data
    public static class FieldData implements Serializable{
        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "id")
        private Long id;

        @ApiModelProperty(value = "表字段名称")
        private String fieldName;

        @ApiModelProperty(value = "表字段值")
        private String fieldValue;
    }

}
